package cm.tl.pms.sys.service;

import cm.tl.pms.sys.entity.SysUserRole;
import com.github.yulichang.base.MPJBaseService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author laker
 * @since 2021-08-11
 */
public interface ISysUserRoleService extends MPJBaseService<SysUserRole> {

    /**
     * 检查角色是否存在
     *
     * @param loginIdAsLong
     * @return
     */
    boolean verifyIsRole(long loginIdAsLong);

    void addDefaultRole(Long userId);
}
